Skip to content

Conversation

@pgrayy
Copy link
Member

@pgrayy pgrayy commented Dec 5, 2025

Description

Bidi is now Python 3.10+ compatible and thus can be targeted by hatch run prepare. This means we can remove the bidi specific build configs in pyproject.toml.

Related Issues

#1459

Documentation PR

N/A

Type of Change

Other (please describe): build config updates.

Testing

How have you tested the change? Verify that the changes do not break functionality or introduce warnings in consuming repositories: agents-docs, agents-tools, agents-cli

  • I ran hatch run prepare

Checklist

  • I have read the CONTRIBUTING document
  • I have added any necessary tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly
  • I have added an appropriate example to the documentation to outline the feature, or no new docs are needed
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov
Copy link

codecov bot commented Dec 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions github-actions bot added size/m and removed size/l labels Dec 8, 2025
@github-actions github-actions bot added size/m and removed size/m labels Dec 17, 2025
@github-actions github-actions bot added size/m and removed size/m labels Dec 17, 2025
@github-actions github-actions bot added size/m and removed size/m labels Dec 17, 2025
@github-actions github-actions bot removed the size/m label Dec 17, 2025
@github-actions github-actions bot added size/m and removed size/m labels Dec 17, 2025
@github-actions github-actions bot removed the size/m label Jan 7, 2026
@github-actions github-actions bot added the size/m label Jan 7, 2026
@github-actions github-actions bot added size/m and removed size/m labels Jan 7, 2026
@github-actions github-actions bot removed the size/m label Jan 7, 2026
@github-actions github-actions bot added the size/m label Jan 7, 2026
@github-actions github-actions bot added size/m and removed size/m labels Jan 7, 2026
@github-actions github-actions bot removed the size/m label Jan 7, 2026
@github-actions github-actions bot added the size/m label Jan 7, 2026
@github-actions github-actions bot added size/m and removed size/m labels Jan 8, 2026
@github-actions github-actions bot added size/s and removed size/m labels Jan 12, 2026
@pgrayy pgrayy changed the title build - bidi - isolate nova provider pyproject.toml - remove bidi specific logic Jan 12, 2026
Comment on lines +31 to +48
from aws_sdk_bedrock_runtime.client import ( # type: ignore[import-not-found]
BedrockRuntimeClient,
InvokeModelWithBidirectionalStreamOperationInput,
)
from aws_sdk_bedrock_runtime.config import ( # type: ignore[import-not-found]
Config,
HTTPAuthSchemeResolver,
SigV4AuthScheme,
)
from aws_sdk_bedrock_runtime.models import ( # type: ignore[import-not-found]
BidirectionalInputPayloadPart,
InvokeModelWithBidirectionalStreamInputChunk,
ModelTimeoutException,
ValidationException,
)
from smithy_aws_core.identity.static import StaticCredentialsResolver
from smithy_core.aio.eventstream import DuplexEventStream
from smithy_core.shapes import ShapeID
from smithy_aws_core.identity.static import StaticCredentialsResolver # type: ignore[import-not-found]
from smithy_core.aio.eventstream import DuplexEventStream # type: ignore[import-not-found]
from smithy_core.shapes import ShapeID # type: ignore[import-not-found]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are all 3.12+ libraries and thus must be ignored by mypy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant